package GUI;

import javax.swing.JPanel;
import java.awt.Color;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JButton;
import javax.swing.ImageIcon;

public class Manager_Main_Gui extends JPanel{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private JButton btnHandelWorker;
	private JButton btnShiftArr;
	private JButton btnStatistics;
	private JButton btnLOGOUT;
	private JButton btnHandlingCustomer;
	private JButton btnEventHandling;
	private JLabel lblNewLabel;
	private JButton btnMassage;
	private JButton btnChangePassword;
	private JButton btnUpdateDetails;
	
	
	public Manager_Main_Gui() {
		setBackground(new Color(255, 51, 0));
		setLayout(null);
		btnHandelWorker = new JButton("Worker");
		btnHandlingCustomer = new JButton("Customer");
		btnHandlingCustomer.setIcon(new ImageIcon(Manager_Main_Gui.class.getResource("/resources/folder-customer-icon.png")));
		btnShiftArr = new JButton("Shift Arrangement");
		btnShiftArr.setIcon(new ImageIcon(Manager_Main_Gui.class.getResource("/resources/calander.png")));
		btnStatistics = new JButton("Statistic");
		btnStatistics.setIcon(new ImageIcon(Manager_Main_Gui.class.getResource("/resources/stats.png")));
		btnLOGOUT = new JButton("LOGOUT");
		btnLOGOUT.setIcon(new ImageIcon(Manager_Main_Gui.class.getResource("/resources/gnome_session_logout1.png")));
		btnMassage = new JButton("Messages");
		btnMassage.setIcon(new ImageIcon(Manager_Main_Gui.class.getResource("/resources/e_mail.png")));
		btnMassage.setFont(new Font("Tahoma", Font.BOLD | Font.ITALIC, 12));
		btnChangePassword = new JButton("Change Password");
		btnUpdateDetails = new JButton("Update Details");
		
		initialize();

	}
	
	private void initialize() {
		JLabel lblManagerMain = new JLabel("MANAGER MAIN");
		lblManagerMain.setForeground(new Color(0, 204, 255));
		lblManagerMain.setFont(new Font("Tahoma", Font.BOLD, 14));
		lblManagerMain.setBounds(10, 11, 126, 27);
		add(lblManagerMain);
		
		btnHandelWorker.setFont(new Font("Tahoma", Font.BOLD | Font.ITALIC, 12));
		btnHandelWorker.setIcon(new ImageIcon(Manager_Main_Gui.class.getResource("/resources/applications_engineering.png")));
		btnHandelWorker.setBounds(84, 80, 183, 37);
		add(btnHandelWorker);
		
		btnShiftArr.setFont(new Font("Tahoma", Font.BOLD | Font.ITALIC, 12));
		btnShiftArr.setBounds(84, 187, 183, 37);
		add(btnShiftArr);
		
		btnStatistics.setFont(new Font("Tahoma", Font.BOLD | Font.ITALIC, 12));
		btnStatistics.setBounds(84, 289, 183, 37);
		add(btnStatistics);
		
		btnLOGOUT.setFont(new Font("Tahoma", Font.BOLD | Font.ITALIC, 12));
		btnLOGOUT.setBounds(10, 462, 126, 27);
		add(btnLOGOUT);
		
		
		btnHandlingCustomer.setFont(new Font("Tahoma", Font.BOLD | Font.ITALIC, 12));
		btnHandlingCustomer.setBounds(424, 80, 183, 37);
		add(btnHandlingCustomer);
		
		btnEventHandling = new JButton("Event");
		btnEventHandling.setIcon(new ImageIcon(Manager_Main_Gui.class.getResource("/resources/1402779782_rings.png")));
		btnEventHandling.setFont(new Font("Tahoma", Font.BOLD | Font.ITALIC, 12));
		btnEventHandling.setBounds(424, 187, 183, 37);
		add(btnEventHandling);
		
		ImageIcon LOGOImageIcon = new ImageIcon(getClass().getClassLoader().getResource("resources/camera-background3.png"));
		ImageIcon LOGO = new ImageIcon (LOGOImageIcon.getImage().getScaledInstance(-1, -1, java.awt.Image.SCALE_SMOOTH));
		
		btnMassage.setBounds(424, 289, 183, 37);
		add(btnMassage);
		
		
		btnUpdateDetails.setIcon(new ImageIcon(Manager_Main_Gui.class.getResource("/resources/Apps-system-software-update-icon.png")));
		btnUpdateDetails.setFont(new Font("Tahoma", Font.BOLD | Font.ITALIC, 12));
		btnUpdateDetails.setBounds(84, 387, 183, 37);
		add(btnUpdateDetails);
		
		
		btnChangePassword.setIcon(new ImageIcon(Manager_Main_Gui.class.getResource("/resources/change.png")));
		btnChangePassword.setFont(new Font("Tahoma", Font.BOLD | Font.ITALIC, 12));
		btnChangePassword.setBounds(424, 387, 183, 37);
		add(btnChangePassword);
		
		lblNewLabel = new JLabel("");	
		lblNewLabel.setIcon(LOGO);
		lblNewLabel.setBounds(0, 0, 786, 500);
		add(lblNewLabel);
		
		
	}

	/**
	 * @return the btnStatistics
	 */
	public JButton getBtnStatistics() {
		return btnStatistics;
	}

	/**
	 * @param btnStatistics the btnStatistics to set
	 */
	public void setBtnStatistics(JButton btnStatistics) {
		this.btnStatistics = btnStatistics;
	}

	/**
	 * @param btnHandelWorker the btnHandelWorker to set
	 */
	public void setBtnHandelWorker(JButton btnHandelWorker) {
		this.btnHandelWorker = btnHandelWorker;
	}

	/**
	 * @param btnShiftArr the btnShiftArr to set
	 */
	public void setBtnShiftArr(JButton btnShiftArr) {
		this.btnShiftArr = btnShiftArr;
	}

	/**
	 * @param btnLOGOUT the btnLOGOUT to set
	 */
	public void setBtnLOGOUT(JButton btnLOGOUT) {
		this.btnLOGOUT = btnLOGOUT;
	}

	/**
	 * @param btnHandlingCustomer the btnHandlingCustomer to set
	 */
	public void setBtnHandlingCustomer(JButton btnHandlingCustomer) {
		this.btnHandlingCustomer = btnHandlingCustomer;
	}

	/**
	 * @param btnEventHandling the btnEventHandling to set
	 */
	public void setBtnEventHandling(JButton btnEventHandling) {
		this.btnEventHandling = btnEventHandling;
	}

	/**
	 * @param btnMassage the btnMassage to set
	 */
	public void setBtnMassage(JButton btnMassage) {
		this.btnMassage = btnMassage;
	}

	/**
	 * @return the btnHandelWorker
	 */
	public JButton getBtnHandelWorker() {
		return btnHandelWorker;
	}


	/**
	 * @return the btnShiftArr
	 */
	public JButton getBtnShiftArr() {
		return btnShiftArr;
	}


	/**
	 * @return the btnLOGOUT
	 */
	public JButton getBtnLOGOUT() {
		return btnLOGOUT;
	}

	/**
	 * @return the btnHandlingCustomer
	 */
	public JButton getBtnHandlingCustomer() {
		return btnHandlingCustomer;
	}

	/**
	 * @return the btnEventHandling
	 */
	public JButton getBtnEventHandling() {
		return btnEventHandling;
	}

	/**
	 * @return the btnMassage
	 */
	public JButton getBtnMassage() {
		return btnMassage;
	}

	/**
	 * @return the btnChangePassword
	 */
	public JButton getBtnChangePassword() {
		return btnChangePassword;
	}

	/**
	 * @param btnChangePassword the btnChangePassword to set
	 */
	public void setBtnChangePassword(JButton btnChangePassword) {
		this.btnChangePassword = btnChangePassword;
	}

	/**
	 * @return the btnUpdateDetails
	 */
	public JButton getBtnUpdateDetails() {
		return btnUpdateDetails;
	}

	/**
	 * @param btnUpdateDetails the btnUpdateDetails to set
	 */
	public void setBtnUpdateDetails(JButton btnUpdateDetails) {
		this.btnUpdateDetails = btnUpdateDetails;
	}
}
